/*
 * Copyright [duowan.com]
 * Web Site: http://www.duowan.com
 * Since 2005 - 2014
 */

package com.duowan.realtime.service;

import java.util.List;

import com.duowan.common.util.page.Page;
import com.duowan.realtime.model.OverviewBloomfilter;
import com.duowan.realtime.query.OverviewBloomfilterQuery;


/**
 * [OverviewBloomfilter] 的业务操作
 * 
 * @author badqiu email:badqiu(a)gmail.com
 * @version 1.0
 * @since 1.0
 */
public interface OverviewBloomfilterService {

	/** 
	 * 创建OverviewBloomfilter
	 **/
	public OverviewBloomfilter create(OverviewBloomfilter overviewBloomfilter);
	
	/** 
	 * 更新OverviewBloomfilter
	 **/	
    public OverviewBloomfilter update(OverviewBloomfilter overviewBloomfilter);
    
	/** 
	 * 删除OverviewBloomfilter
	 **/
    public void removeById(String bloomfilterGroup, String bloomfilterName, String partition);
    
	/** 
	 * 根据ID得到OverviewBloomfilter
	 **/    
    public OverviewBloomfilter getById(String bloomfilterGroup, String bloomfilterName);
    
	/** 
	 * 分页查询: OverviewBloomfilter
	 **/      
	public Page<OverviewBloomfilter> findPage(OverviewBloomfilterQuery query);
	
	public List<OverviewBloomfilter> getByServerIp(String serverIp);
	
	public List<OverviewBloomfilter> getByBloomFilterGroup(String bloomfilterGroup);
	
	public List<OverviewBloomfilter> getAll();
	
}
